﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.master" Inherits="System.Web.Mvc.ViewPage<PorteringManagement.Model.Cargo>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Cargas
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2>Eliminar Carga</h2>

<h3>¿Está seguro que desea eliminar esta carga?</h3>
<fieldset>
    <legend>Carga</legend>

    <div class="display-label">Tipo de Carga</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.CargoType.Name) %>
    </div>

    <div class="display-label">Cliente</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Customer.Name) %>
    </div>

    <div class="display-label">Itinerario</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Itinerary.Name) %>
    </div>

    <div class="display-label">Nombre</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Name) %>
    </div>

    <div class="display-label">Descripción</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Descripion) %>
    </div>

    <div class="display-label">Tamaño</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Size) %>
    </div>

    <div class="display-label">Peso</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Weight) %>
    </div>
</fieldset>
<% using (Html.BeginForm()) { %>
    <p>
        <input type="submit" value="Eliminar" /> |
        <%: Html.ActionLink("Volver a la Lista", "Index") %>
    </p>
<% } %>

</asp:Content>
